home *** CD-ROM | disk | FTP | other *** search
- /*
- * File: Command.C
- * Purpose: Contains standard device driver
- * command function handlers
- */
-
- #include "device.h"
-
- void ShowString (char far *str);
-
- /*
- * DevOpen : DEVICE OPEN function handler
- * Indicates successful command completion
- */
- WORD DevOpen (RH far *rh)
- {
- return DEV_DONE;
- }
-
- /*
- * DevClose : DEVICE CLOSE function handler
- * Indicates successful command completion
- */
- WORD DevClose (RH far *rh)
- {
- return DEV_DONE;
- }
-
- /*
- * UnknownCommand : General error handler
- * Returns DEV_ECMD status for unknown or
- * unimplemented commands
- */
- WORD UnknownCommand (RH far *rh)
- {
- return DEV_ERROR | DEV_ECMD | DEV_DONE;
- }
-